if a piecewise function is continuous or not